package com.xunwulian.base.entity;

/**
 * 账单明细
 */
public class BillDetailEntity extends Entity {

    // 账单ID
    private String billId;

    // 账单明细ID
    private String detailId;

    // 平台ID
    private String appId;

    //用户Id
    private String userId;

    //子用户
    private String subUserId;

    // 号段起始
    private long start;

    // 号段结束
    private long end;

    // 未注销的卡数
    private Long activeNum;

    // 有效收费卡数目
    private Long billCardNum;

    // 套餐类型，对用户
    private Integer userPkg;

    // 用户价格
    private Double userPrice;

    // 总金额
    private Double totalFee;

    // 状态
    private Integer status;

    public BillDetailEntity() {
    }

    public BillDetailEntity(String billId,
                            String detailId,
                            String appId,
                            String userId,
                            String subUserId,
                            long start,
                            long end,
                            long activeNum,
                            long billCardNum,
                            Integer userPkg,
                            Double userPrice,
                            Double totalFee,
                            Integer status) {

        this.billId = billId;
        this.detailId = detailId;
        this.appId = appId;
        this.userId = userId;
        this.subUserId = subUserId;
        this.start = start;
        this.end = end;
        this.activeNum = activeNum;
        this.billCardNum = billCardNum;
        this.userPkg = userPkg;
        this.userPrice = userPrice;
        this.totalFee = totalFee;
        this.status = status;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSubUserId() {
        return subUserId;
    }

    public void setSubUserId(String subUserId) {
        this.subUserId = subUserId;
    }

    public long getStart() {
        return start;
    }

    public void setStart(long start) {
        this.start = start;
    }

    public long getEnd() {
        return end;
    }

    public void setEnd(long end) {
        this.end = end;
    }

    public Integer getUserPkg() {
        return userPkg;
    }

    public void setUserPkg(Integer userPkg) {
        this.userPkg = userPkg;
    }

    public Double getUserPrice() {
        return userPrice;
    }

    public void setUserPrice(Double userPrice) {
        this.userPrice = userPrice;
    }

    public Double getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Double totalFee) {
        this.totalFee = totalFee;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getActiveNum() {
        return activeNum;
    }

    public void setActiveNum(Long activeNum) {
        this.activeNum = activeNum;
    }

    public Long getBillCardNum() {
        return billCardNum;
    }

    public void setBillCardNum(Long billCardNum) {
        this.billCardNum = billCardNum;
    }

    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId;
    }

    public String getDetailId() {
        return detailId;
    }

    public void setDetailId(String detailId) {
        this.detailId = detailId;
    }
}
